// 个人中心-消息相关接口
import { get, post } from "../base/request";

// 消息列表
export const getMessageLists = (page) => get('/api/message/lists', { page }, {}, { loadingText: '正在加载' });

// 已读消息
export const postMessageRead = (data) => post('/api/message/read', data)

// 删除消息
export const postMessageDel = (data) => post('/api/message/del', data)

// 全部已读
export const postMessageAllRead = (data) => post('/api/message/all_read', data)

// 获取未读消息数
export const getMessageNum = () => get('/api/message/get_num');

// 获取学社是否可跳转
export const getClubJump = (club_id) => get('/api/club/get_jump', { club_id });

